package com.lynx.core;

import org.springframework.web.bind.annotation.ExceptionHandler;

import com.lynx.controller.model.Message;

/**
 * @author chris.liu
 * @version 4/24/14 5:27 PM
 */
public class BaseController {

	protected static final Message MSG_SYS_ERROR = new Message("错误", "服务器异常，攻城湿们正加班加点解决问题...");

	@ExceptionHandler(Throwable.class)
	public String handleException(Throwable t) {
		return "redirect:404.jsp";
	}

}
